/* =====================
   GLOBAL STYLES
===================== */
body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  background: #ffffff;
  color: #222;
  transition: 0.3s;
}

.dark {
  background: #121212;
  color: #fff;
}

/* =====================
   HEADER
===================== */
header {
  background:linear-gradient(90deg, #6a7519, rgb(0, 0, 0), #802525);
  color: #fff;
  padding: 15px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  border-radius: 0 0 50px 50px;
}

.dark header {
  background: #1f2937;
}

/* =====================
   CONTAINER
===================== */
.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* =====================
   TEXTAREA
===================== */
textarea {
  width: 100%;
  min-height: 180px;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
}

.dark textarea {
  background: #1e1e1e;
  color: #fff;
  border-color: #444;
}

/* =====================
   BUTTONS
===================== */
.btn {
   text-decoration: underline;
}

.btn:hover{
  color: red;
  transition-duration: 0.5s;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 15px 0;
}  

button {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background:#4f46e5;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

button:hover {
  box-shadow: 0 6px 15px rgba(253, 108, 108, 0.6);
  transform: translateY(-2px);
}

button:active {
  box-shadow: 0 3px 8px rgba(128, 128, 128, 0.4);
  transform: translateY(0);
}

.dark button {
  background: #4f46e5;
}

button.secondary {
  background: #4f46e5;
}

/* =====================
   STATS
===================== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.stat {
  background: #bdbdbd;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
}

.dark .stat {
  background: #1f2937;
}

/* =====================
   SECTIONS
===================== */
section {
  margin-top: 40px;
  padding: 20px;
  background: rgb(162, 137, 179);
  border-radius: 8px;
}

.dark section {
  background: #1f2937;
}

/* =====================
   FOOTER
===================== */
footer {
  margin-top: 40px;
  padding: 15px;
  text-align: center;
  font-size: 14px;
  color: #ffffff;
  background-color: #0f172a;
}

.dark footer {
  color: #aaa;
}

/*================
  ABOUT
================*/
#head1 a{
   color: aliceblue;
   margin: 6px;
}

#nav-menu {
  padding: 5px;
}

#nav-menu a:hover {
  box-shadow: 0 2px 5px rgb(255, 255, 255);
  transform: rotateX(3deg);
  transition-duration: 0.5s;
  color: yellow;
  text-decoration:wavy;
}


#simpleGrammarBox {
  margin-top: 15px;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 6px;
  font-size: 14px;
}

.dark #simpleGrammarBox {
  background: #1f2937;
}

.contactLink {
  text-decoration: none;
}

.contactLink:hover {
  color: red;
  transition-duration: 0.5s;
}

#PrivacyPolicylink {
   text-align: center;
   font-size: 20px;
   text-decoration: underline;

}

#PrivacyPolicylink:hover {
   color: red;
   transition-duration: 0.5s;
   text-decoration: none;
}

#maintain {
  padding-left:70px;
}
